package com.jshan.base.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.util.List;

@Data
@Schema(description = "代码生成请求")
public class CodeGenRequest {
    @Schema(description = "表名")
    private String tableName;
    @Schema(description = "表注释")
    private String tableComment;
    @Schema(description = "字段列表")
    private List<TableFieldDTO> fields;
    @Schema(description = "索引列表")
    private List<TableIndexDTO> indexes;
    @Schema(description = "生成类型，如entity,controller,service,vue等")
    private List<String> types;
    @Schema(description = "后端生成路径")
    private String backendPath;
    @Schema(description = "前端生成路径")
    private String frontendPath;
}
